package cn.janyd.jmall.system.rpc.admin.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * @author janyd
 * @since 2020/8/14 21:13
 */
@Data
@Accessors(chain = true)
public class AdminVerifyPasswordDTO {

    @NotEmpty(message = "账号不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;

    @NotEmpty(message = "IP 不能为空")
    private String ip;
}
